import request from '../../http/index'


// 用户登录
export function login(data: any) {
	return request({
		url: '/dev/login/login',
		method: 'post',
		data
	})
}

// 获取用户信息
export function getResource() {
	return request({
		url: '/dev/login/getResource',
		method: 'get'
	})
}
